#include "../source/online.hpp"

int main()
{
    liang::websocket_server::connection_ptr conn;
    uint64_t id = 4;
    liang::onlineManager om;
    om.enterHall(id, conn);
    if (om.isInHall(id))
    {
        DEBUG("%ld is in hall", id);
    }
    else 
    {
        DEBUG("%ld is not in hall", id);
    }
    om.exitHall(id);
    if (om.isInHall(id))
    {
        DEBUG("%ld is in hall", id);
    }
    else 
    {
        DEBUG("%ld is not in hall", id);
    }
    return 0;
}